package training;

/**
 * 电脑类
 */
public class Computer {
    private int score;

    public Computer() {
    }

    public Computer(int score) {
        this.score = score;
    }

    /**
     * 出拳
     * @return
     */
    public int send(){
        return (int)(Math.random() * 3);
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
